#pragma once
#include "LuaObject.h"

class LUAOBJ_API LuaString:public LuaObject
{
public:
	LuaString();
	LuaString(const LuaObject& rfs);

	~LuaString();

	bool isValid();

	const char* c_str() const;

	bool set(const char* str);
	bool set(const char* str, size_t len);

	operator const char*();

	size_t length();
};
